<template>
	<view style="margin-top: 40rpx;">
		<view v-if="type==0" class="u-flex u-row-center" style="flex-wrap:  wrap;">
			<image src="../static/images/kong.png" style="width: 390rpx;height: 272rpx;">
				<view class="btn" @tap="goLogin()">
					前往登录
				</view>
		</view>
		<view v-else-if="type==1" class="u-flex u-row-center" style="flex-wrap:  wrap;">
			<image src="../static/images/kong1.png" style="width: 390rpx;height: 272rpx;">
				<view class="btn" @tap="goAuth()">
					去认证
				</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "empty",
		props: {
			type: Number,
			default: 0
		},
		data() {
			return {

			};
		},
		methods: {
			goAuth() {
				uni.navigateTo({
					url: "/pages/login/auth"
				})
			},
			goLogin() {
				uni.navigateTo({
					url: "/pages/login/h5Login"
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.btn {
		width: 430rpx;
		line-height: 76rpx;
		background: #007DF7;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		font-size: 28rpx;
		text-align: center;
		color: #FFFFFF;

	}
</style>